package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.UserCalendarSignRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IUserCalendarSignRecordDao {
    UserCalendarSignRecord getPreviousSignDay(UserCalendarSignRecord userCalendarSignRecordReq);

    void insert(UserCalendarSignRecord userCalendarSignRecord);

    List<UserCalendarSignRecord> queryUserCalendarSignRecords(@Param("userId") String userId, @Param("activityId") Long activityId, @Param("month") String month);
}
